package com.junko.model.app;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.junko.model.BaseModel;

@JsonInclude(value= JsonInclude.Include.NON_NULL)
public class User extends BaseModel{

    private Integer id;
    private String sex;//性别
    private String userName;//用户名
    private String headImg;//头像
    private String salt;//密码盐
    private String password;//密码
    private String realName;//真实姓名
    private String email;//邮箱
    private String mobile;//手机号
    private Boolean locked;//禁用
    private String registerCode;//注册码
    private String findPasswordCode;//找回密码码

    private UserInfo info;

    public UserInfo getInfo() {
        return info;
    }

    public void setInfo(UserInfo info) {
        this.info = info;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Boolean getLocked() {
        return locked;
    }

    public void setLocked(Boolean locked) {
        this.locked = locked;
    }

    public String getRegisterCode() {
        return registerCode;
    }

    public void setRegisterCode(String registerCode) {
        this.registerCode = registerCode;
    }

    public String getFindPasswordCode() {
        return findPasswordCode;
    }

    public void setFindPasswordCode(String findPasswordCode) {
        this.findPasswordCode = findPasswordCode;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }
}